package com.rich.broker.service.feign;

import com.rich.common.entity.TbUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Package: com.rich.broker.service.feign
 * @Author: 张dy
 * @Date: Created in 2021/8/21 上午 8:56
 */
@FeignClient("rich-user")
@RequestMapping("/user")
public interface UserMapper {

    /**
     * 查询单条
     * @Author: zdy
     * @Date:  下午 2:45
     * @param uid
     * @return com.rich.common.entity.TbUser
     **/

    @RequestMapping("/findById")
    public TbUser findById(Long uid);
}
